package com.yonyou.domain;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 奖项  实体类
 * @author shenjzh
 *
 */
@Document(collection="prize")
@ApiModel(value="奖项实体")
public class Prize {
	@Id
	@ApiModelProperty(value="奖项ID")
	private String id;//奖项ID
	
	@ApiModelProperty(value="会议ID")
	private String meeting_id;//会议ID
	
	@ApiModelProperty(value="奖项名称")
	private String prize_name;//奖项名称
	
	@ApiModelProperty(value="奖品")
	private String prizes;//奖品
	
	@ApiModelProperty(value="抽奖配置,0代表按奖项配置，1代表按轮次配置 ")
	private String lottery_allocation;//抽奖配置,0代表按奖项配置，1代表按轮次配置 
	
	@ApiModelProperty(value="一次抽取人数 ")
	private Integer onetime_extraction;//一次抽取人数;
	
	@ApiModelProperty(value="奖项中奖名额")
	private Integer winning_quota;//奖项中奖名额
	
	@ApiModelProperty(value="是否允许重复,0,1分别代表不重复,重复")
	private String is_allowed_duplicate;//是否允许重复
	
	@ApiModelProperty(value="抽奖模式,0,1,2分别对应滚动，摇一摇，数钱")
	private String draw_mode;//抽奖模式,0,1,2分别对应滚动，摇一摇，数钱
	
	@ApiModelProperty(value="抽奖形式,0,1,2,3分别对应按人抽，按组抽，按部门抽，按桌抽")
	private String draw_form;//抽奖形式,0,1,2,3分别对应按人抽，按组抽，按部门抽，按桌抽
	
	@ApiModelProperty(value="中奖名单显示")
	private String list_ofWinners;//中奖名单显示
	
	@ApiModelProperty(value="摇一摇样式")
	private String shake_style;//摇一摇样式
	
	@ApiModelProperty(value="抽奖用户来源")
	private String draw_user_source;//抽奖用户来源
	
	@ApiModelProperty(value="用户筛选")
	private String user_screen;//用户筛选
	
	@ApiModelProperty(value="图片文件名称")
	private String filename;//图片文件名称
	
	@ApiModelProperty(value = "是否删除,0代表正常1代表已删除")
	private String dr;
	
	@ApiModelProperty(value = "最后操作日期时间")
	private String ts;
	
	@ApiModelProperty(value = "已抽完第几轮次，初始化为0,每抽一次+1")
	private Integer turn;
	
	@ApiModelProperty(value = "抽奖轮次配置信息集合")
	List<DrawTurn> list;
	
	public Integer getOnetime_extraction() {
		return onetime_extraction;
	}

	public void setOnetime_extraction(Integer onetime_extraction) {
		this.onetime_extraction = onetime_extraction;
	}

	public Integer getWinning_quota() {
		return winning_quota;
	}

	public void setWinning_quota(Integer winning_quota) {
		this.winning_quota = winning_quota;
	}

	public List<DrawTurn> getList() {
		return list;
	}

	public void setList(List<DrawTurn> list) {
		this.list = list;
	}

	public String getLottery_allocation() {
		return lottery_allocation;
	}

	public void setLottery_allocation(String lottery_allocation) {
		this.lottery_allocation = lottery_allocation;
	}

	public String getDraw_form() {
		return draw_form;
	}

	public void setDraw_form(String draw_form) {
		this.draw_form = draw_form;
	}

	public Integer getTurn() {
		return turn;
	}

	public void setTurn(Integer turn) {
		this.turn = turn;
	}


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getMeeting_id() {
		return meeting_id;
	}

	public void setMeeting_id(String meeting_id) {
		this.meeting_id = meeting_id;
	}

	public String getPrize_name() {
		return prize_name;
	}

	public void setPrize_name(String prize_name) {
		this.prize_name = prize_name;
	}

	public String getPrizes() {
		return prizes;
	}

	public void setPrizes(String prizes) {
		this.prizes = prizes;
	}


	public String getIs_allowed_duplicate() {
		return is_allowed_duplicate;
	}

	public void setIs_allowed_duplicate(String is_allowed_duplicate) {
		this.is_allowed_duplicate = is_allowed_duplicate;
	}

	public String getDraw_mode() {
		return draw_mode;
	}

	public void setDraw_mode(String draw_mode) {
		this.draw_mode = draw_mode;
	}

	public String getList_ofWinners() {
		return list_ofWinners;
	}

	public void setList_ofWinners(String list_ofWinners) {
		this.list_ofWinners = list_ofWinners;
	}

	public String getShake_style() {
		return shake_style;
	}

	public void setShake_style(String shake_style) {
		this.shake_style = shake_style;
	}


	public String getDraw_user_source() {
		return draw_user_source;
	}

	public void setDraw_user_source(String draw_user_source) {
		this.draw_user_source = draw_user_source;
	}

	public String getUser_screen() {
		return user_screen;
	}

	public void setUser_screen(String user_screen) {
		this.user_screen = user_screen;
	}


	public String getDr() {
		return dr;
	}

	public void setDr(String dr) {
		this.dr = dr;
	}

	public String getTs() {
		return ts;
	}

	public void setTs(String ts) {
		this.ts = ts;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}
	
}
